package ooday01;

public class Student {
        public String name;
        public int age;
        public String className;
        public int stuId;
        public Student(){

        }

        public Student(String name, int age, String className, int stuId) {
                this.name = name;
                this.age = age;
                this.className = className;
                this.stuId = stuId;
        }
        public void study(){
                System.out.println(name+"学习");
        }
        public void sayHi(){
                System.out.println(name+":嗨，学妹");
        }
        public void playWith(String anothername){
                System.out.println(name+"在和"+anothername+"玩");
        }

}
